package com.wisdytech.linkdcs.partLife.service;

import java.text.ParseException;

import com.github.pagehelper.PageInfo;
import com.wisdytech.common.bean.Filter;
import com.wisdytech.linkdcs.partLife.dto.PartStorageSaveDTO;
import com.wisdytech.linkdcs.partLife.dto.PartStorageSearchDTO;
import com.wisdytech.linkdcs.partLife.vo.PartStorageRecordVO;

/**
 * <p>
 *  备件出入库记录服务类
 * </p>
 *
 * @author chenbin
 * @since 2018-06-05
 */
public interface IPartStorageRecordService{
    /**
     * 保存备件出入库信息
     * @param partStorageRecord 备件出入库
     * @param session 
     * @return 保存结果集
     * @throws ParseException 
     */
	void savepartStorage(PartStorageSaveDTO partStorageSaveDTO,String userId) throws ParseException;
    /**
     * 分页条件查询备件出入库列表信息
     * @param partStorageSearchDTO 查询条件对象
     * @param filter 分页参数
     * @return 备件出入库管理列表信息
     */
	PageInfo<PartStorageRecordVO> listPartStorageByFilter(PartStorageSearchDTO partStorageSearchDTO, Filter filter);

}
